package com.xin.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * Created by Home on 2017/6/13.
 */
@Controller
public class TestController {
    @RequestMapping(value = "/",method = RequestMethod.GET)
    @ResponseBody
    public String index () {
        return "HelloWorld123";
    }
}
